package com.sc.nft.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_user_relevance")
public class UserRelevance extends Model<UserRelevance> implements Serializable {
    private Long id;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 用户的下级ID
     */
    private Long relevanceId;
    /**
     * 层级等级
     */
    private Integer lv;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 修改时间
     */
    private Date updateTime;
}
